<script>
    export default {
        data() {
            return {}
        },
        components: {},
        methods: {
            /**
             * @Description 关闭picker
             * @author Anonymous
             * @date 2019/4/30
             */
            e_closePicker() {
                console.log('111')
                this.$emit('closePicker')
            }

        },
        mounted() {
        },
        created() {
        }
    }
</script>
<template>
    <div class="BasePicker">
        <!--picker区域-->
        <div class="PickerArea">
            <!--顶部区域-->
            <div class="pickerTop">
                <span class="topBtn" @click="e_closePicker">取消</span>
                <span>选择上门时间</span>
                <span class="topBtn">确定</span>
            </div>
            <!--选择区域-->
            <div class="pickerSelectContaienr">
                <picker
                    mode="date"
                    :value="date"
                    start="2015-09-01"
                @change="dateChange">
                <view class="picker">
                    当前选择: {{date}}
                </view>
                </picker>
            </div>
        </div>
    </div>
</template>
<style lang='scss'>
    @import "BasePicker";
</style>
